package com.example.myproject.message.medicinalPlant;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.example.myproject.R;

public class MedicinalPlantPlatycodonActivity extends AppCompatActivity {

    private TextView favor;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_medicinal_plant_platycodon);
        favor=findViewById(R.id.favorCabbage);
        favor.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                //关注逻辑
            }
        });
    }
}